﻿using Abp.AutoMapper;
using Paas.Core.Sys.Entities;
using System.Text.Json.Serialization;

namespace Paas.App.Interface.Sys.Data.Dtos
{
    [AutoMap(typeof(User))]
    public class IdNameDataDto
    {
        [JsonPropertyName("value")]
        [Newtonsoft.Json.JsonProperty("value")]
        public int Id { get; set; }

        [JsonPropertyName("label")]
        [Newtonsoft.Json.JsonProperty("label")]
        public string Name { get; set; }

    }
}

